package com.xiaofengstu.mcams.web.service;

import com.xiaofengstu.mcams.web.entity.Workflow;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fengzeng
 * @since 2022-05-07
 */
public interface WorkflowService extends IService<Workflow> {

  Integer discardApply(Workflow workflow);

  Integer repairApply(Workflow workflow);

  List<Workflow> defineList();

  Boolean onApprove(Workflow workflow);

  Boolean onReject(Workflow workflow);
}
